home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / fm2utils.zip / archiver.bb2 < prev    next >
Text File  |  1995-01-02  |  15KB  |  646 lines

  1. 21
  2. ;That first line is how many lines/record in this archiver.bb2 file...
  3. ;very important, do not change.  Allows future modifications to the
  4. ;file to be transparent to older programs.
  5. ;
  6. ;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
  7. ;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
  8. ;
  9. ;format for this archiver.bb2 file (each entry has 21 lines):
  10. ;
  11. ; 1st line:  ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
  12. ; 2nd line:  normal extension for archives (like ZIP, ARC, LZH; note no period)
  13. ; 3rd line:  offset into file to signature
  14. ; 4th line:  list command
  15. ; 5th line:  extract command
  16. ; 6th line:  extract w/ directories command
  17. ; 7th line:  test archive command
  18. ; 8th line:  add/create command
  19. ; 9th line:  add/create w/ paths command
  20. ;10th line:  add/create & recurse command
  21. ;11th line:  move command
  22. ;12th line:  move w/ paths command
  23. ;13th line:  delete command
  24. ;14th line:  signature (case sensitive, leading spaces count!
  25. ;15th line:  startlist string
  26. ;16th line:  endlist string
  27. ;17th line:  old size position  (all positions 0-based, -1 = not available)
  28. ;18th line:  new size position
  29. ;19th line:  file date position
  30. ;20th line:  number of positions in dates (for "03 June 92" would be 3)
  31. ;21st line:  file name position (absolutely required, of course; -1 = last pos)
  32. ;
  33. ;a semicolon demarks a comment.  they may appear at any point *except*
  34. ;within the 21 lines of an archiver entry.  comments are ignored by AV.
  35. ;
  36. ;note that all archiver strings should include the archiver's parameter to
  37. ;prevent it from stopping for input!  also note that archive types are checked
  38. ;in order of their listing in this file.  finally, this file is set up for
  39. ;the archivers I had lying around; if yours are different versions, you may
  40. ;have to modify this file.  All archivers are OS/2 (or FAPI) versions.
  41. ;DOS archivers will NOT work.  I said DOS archivers will NOT work.
  42. ;
  43. ;how archive listing works (for the curious):
  44. ;
  45. ;AV first tries to find a signature match.  failing that, it checks
  46. ;to see if the file might be an ARC-format file.  If the latter, READARC.CMD
  47. ;is spawned (by XBBS) with ARC as the first argument and v as the second,
  48. ;followed by the filename (AV spawns ARC directly).  If the former, the list 
  49. ;command is sent, followed by the filename.  AV (and XBBS) then parses the
  50. ;resultant file using the start and end list lines and offsets in file lines
  51. ;listed in this file for the given archiver.
  52. ;
  53. ;Warning:  I'm told there's a bug in some versions of 4OS2 that can cause
  54. ;a call to an archiver to fail if the archiver has an extension (i.e.
  55. ;UNZIP works, UNZIP.EXE doesn't).  If things fail for no apparent reason
  56. ;and you're using 4OS2 you might keep it in mind.
  57. ;
  58. ;Sample C code to access this information is in sample.c in the AV
  59. ;distribution archive, and is free for the using in your own projects.
  60. ;
  61. ;-----------------Archiver data begins-----------------------
  62. ;
  63. ;This entry is for Zoo 2.1
  64. ;
  65. ;NOTE:  Bug in Zoo 2.1 seems to cause files stored with paths to
  66. ;be extracted w/ paths even when you don't ask it to do so...
  67. ;
  68. ;
  69. Zoo 2.1
  70. ZOO
  71. 20
  72. ZOO.EXE v
  73. ZOO.EXE xO
  74. ZOO.EXE xO/
  75. ZOO.EXE -test
  76. ZOO.Exe ah:
  77. ZOO.EXE ah
  78.  
  79. ZOO.EXE aM:h
  80. ZOO.EXE aMh
  81. ZOO.EXE -delete
  82. \xdc\xa7\xc4\xfd
  83. --------  --- --------  --------- --------
  84. --------  --- --------  --------- --------
  85. 0
  86. 2
  87. 3
  88. 3
  89. -1
  90. ;
  91. ; This entry is for LHarc 2.22.  Supposedly fixes bugs in earlier versions.
  92. ; Actually seems to have done so.  Good work, Peter.
  93. ;
  94. LHarc 2.22
  95. LZH
  96. 2
  97. LH.EXE /o l
  98. LH.EXE /o x
  99. LH.EXE /o /s x
  100. LH.EXE t
  101. LH.EXE /o a
  102.  
  103. LH.EXE /o /s a
  104. LH.EXE /o m
  105.  
  106. LH.EXE /o d
  107. -lh
  108.   -------- --------  -----------------------------------------
  109.   --------          -----------------------------------------
  110. 0
  111. -1
  112. 1
  113. 1
  114. 2
  115. ;
  116. ; Duplicate entry is for LHarc 2.22 using LH32 filename.
  117. ;
  118. LHarc-32 2.22
  119. LZH
  120. 2
  121. LH32.EXE /o l
  122. LH32.EXE /o x
  123. LH32.EXE /o /s x
  124. LH32.EXE t
  125. LH32.EXE /o a
  126.  
  127. LH32.EXE /o /s a
  128. LH32.EXE /o m
  129.  
  130. LH32.EXE /o d
  131. -lh
  132.   -------- --------  -----------------------------------------
  133.   --------          -----------------------------------------
  134. 0
  135. -1
  136. 1
  137. 1
  138. 2
  139. ;
  140. ; This entry is for LHarc 2.22 self-extractors.
  141. ;
  142. LHarc 2.22 SE
  143. LZH
  144. 22963
  145. LH.EXE /o l
  146. LH.EXE /o x
  147. LH.EXE /o /s x
  148. LH.EXE t
  149. LH.EXE /o a
  150.  
  151. LH.EXE /o /s a
  152. LH.EXE /o m
  153.  
  154. LH.EXE /o d
  155. -lh
  156.   -------- --------  -----------------------------------------
  157.   --------          -----------------------------------------
  158. 0
  159. -1
  160. 1
  161. 1
  162. 2
  163. ;
  164. ; This entry is for LHA 2.12 (DOS) self-extractors since LH 2.22 seems to
  165. ; recognize them.
  166. ;
  167. LHarc 2.12 DOS SE
  168. LZH
  169. 1638
  170. LH.EXE /o l
  171. LH.EXE /o x
  172. LH.EXE /o /s x
  173. LH.EXE t
  174. LH.EXE /o a
  175.  
  176. LH.EXE /o /s a
  177. LH.EXE /o m
  178.  
  179. LH.EXE /o d
  180. -lh
  181.   -------- --------  -----------------------------------------
  182.   --------          -----------------------------------------
  183. 0
  184. -1
  185. 1
  186. 1
  187. 2
  188. ;
  189. ;
  190. ;This entry is for LH2 2.11.
  191. ;
  192. ;NOTE:  sometimes will put a file into an archive more than once, necessitating 
  193. ;deleting both.  EAs not handled well, but at least they're handled.
  194. ;
  195. LHarc 2.11
  196. LZH
  197. 2
  198. LH.EXE /o l
  199. LH.EXE /o x
  200. LH.EXE /o /s x
  201. LH.EXE t
  202. LH.EXE /o a
  203.  
  204. LH.EXE /o /s a
  205. LH.EXE /o m
  206.  
  207. LH.EXE /o d
  208. -lh
  209.   -------- -------- -----------------------------------------
  210.   --------          -----------------------------------------
  211. 0
  212. -1
  213. 1
  214. 1
  215. 2
  216. ;
  217. ;
  218. ;This entry is for ZIP 1.9/UNZIP 5.0 (available in 32-bit versions)
  219. ;ZIP/UNZIP should work with PKZIP 2.04 files.  Saves EAs well.  Won't
  220. ;extract a file stored with path without the path (actually, this seems
  221. ;to be fixed now.  Maybe.  There are dozens of versions floating around;
  222. ;you don't pays your money and you takes your chances).  If you have a
  223. ;version that won't extract files with paths without the paths, there's
  224. ;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
  225. ;Because of broken ZIP archives floating around everywhere, this is here
  226. ;without the version flag in the signature (should really be PK\x3\x4\x14).
  227. ;Damnit, it looks like Katz's own software is what does the botching.  So
  228. ;much for the keeper of the ZIP standard...  Zip still seems to have to
  229. ;have erratic problems with creating archives with some pathnames...
  230. ;
  231. Zip/UnZip 1.9/5.0
  232. ZIP
  233. 0
  234. UNZIP.EXE -lUo
  235. UNZIP.EXE -jo
  236. UNZIP.EXE -o
  237. UNZIP.EXE -to
  238. ZIP.EXE -j9g
  239. ZIP.EXE -9g
  240. ZIP.EXE -r9g
  241. ZIP.EXE -mj9g
  242. ZIP.EXE -m9g
  243. ZIP.EXE -d
  244. PK\x3\x4
  245.  ------    ----    ----    ----
  246.  ------                    -------
  247. 0
  248. -1
  249. 1
  250. 2
  251. 3
  252. ;
  253. ;
  254. ;Duplicate entry is for ZIP 1.9/UNZIP 5.0 using 32 filenames.
  255. ;
  256. Zip/UnZip-32 1.9/5.0
  257. ZIP
  258. 0
  259. UNZIP32.EXE -lUo
  260. UNZIP32.EXE -jo
  261. UNZIP32.EXE -o
  262. UNZIP32.EXE -to
  263. ZIP32.EXE -j9g
  264. ZIP32.EXE -9g
  265. ZIP32.EXE -r9g
  266. ZIP32.EXE -mj9g
  267. ZIP32.EXE -m9g
  268. ZIP32.EXE -d
  269. PK\x3\x4
  270.  ------    ----    ----    ----
  271.  ------                    -------
  272. 0
  273. -1
  274. 1
  275. 2
  276. 3
  277. ;
  278. ;
  279. ;This entry is for PKZIP 1.01
  280. ;
  281. PK(Un)Zip 1.01
  282. ZIP
  283. 0
  284. PKZIP.EXE -v
  285. PKUNZIP.EXE -o
  286. PKUNZIP.EXE -o -d
  287. PKUNZIP.EXE -t
  288. PKZIP.EXE -a
  289. PKZIP.EXE -a -P
  290. PKZIP.EXE -a -p -r
  291. PKZIP.EXE -m
  292. PKZIP.EXE -m -P
  293. PKZIP.EXE -d
  294. PK\x3\x4\xa
  295.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  296.  ------          ------  ---                                 -------
  297. 0
  298. 2
  299. 4
  300. 2
  301. 8
  302. ;
  303. ;
  304. ;This entry is for PKZIP 1.01 named PK(Un)Zip2
  305. ;
  306. PK(Un)Zip2 1.01
  307. ZIP
  308. 0
  309. PKZIP2.EXE -v
  310. PKUNZIP2.EXE -o
  311. PKUNZIP2.EXE -o -d
  312. PKUNZIP2.EXE -t
  313. PKZIP2.EXE -a
  314. PKZIP2.EXE -a -P
  315. PKZIP2.EXE -a -p -r
  316. PKZIP2.EXE -m
  317. PKZIP2.EXE -m -P
  318. PKZIP2.EXE -d
  319. PK\x3\x4\xa
  320.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  321.  ------          ------  ---                                 -------
  322. 0
  323. 2
  324. 4
  325. 2
  326. 8
  327. ;
  328. ;This entry is for unzipsfx self-extractors
  329. ;
  330. unzipsfx
  331.  
  332. 217
  333. UNZIP.EXE -lUo
  334. UNZIP.EXE -jo
  335. UNZIP.EXE -o
  336. UNZIP.EXE -to
  337.  
  338.  
  339.  
  340.  
  341.  
  342. ZIP.EXE -d
  343. unzipsfx
  344.  ------    ----    ----    ----
  345.  ------                    -------
  346. 0
  347. -1
  348. 1
  349. 2
  350. 3
  351. ;
  352. ;
  353. ;This entry is for PKZIP self-extractors type 1
  354. ;
  355. PK(Un)Zip SE #1
  356.  
  357. 2934
  358. PKZIP.EXE -v
  359. PKUNZIP.EXE -o
  360. PKUNZIP.EXE -o -d
  361. PKUNZIP.EXE -t
  362.  
  363.  
  364.  
  365.  
  366.  
  367. PKZIP.EXE -d
  368. PK\x3\x4
  369.  ------  ------   ----- -----   ----    ----